package com.retail.xiaocui.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.retail.common.core.annotation.Excel;
import com.retail.common.core.web.domain.BaseEntity;

/**
 * 商品库存对象 t_warehouse_sku
 *
 * @author retail
 * @date 2024-03-10
 */
public class WarehouseSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存商品中间表id */
    private Integer warehouseSkuId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Integer warehouseId;

    /** sku_id */
    @Excel(name = "sku_id")
    private Integer skuId;

    /** 仓库数量 */
    @Excel(name = "仓库数量")
    private Integer stashCount;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 状态(1正常 2锁定) */
    @Excel(name = "状态(1正常 2锁定)")
    private Integer stashStatus;
    /** 状态(1正常 2锁定) */
    @Excel(name = "仓库名称")
    private String warehouseName;
    /** 状态(1正常 2锁定) */
    @Excel(name = "商品名称")
    private String skuName;
    /** 状态(1正常 2锁定) */
    @Excel(name = "商品信息")
    private String skuDescription;

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuDescription() {
        return skuDescription;
    }

    public void setSkuDescription(String skuDescription) {
        this.skuDescription = skuDescription;
    }

    public void setWarehouseSkuId(Integer warehouseSkuId)
    {
        this.warehouseSkuId = warehouseSkuId;
    }

    public Integer getWarehouseSkuId()
    {
        return warehouseSkuId;
    }
    public void setWarehouseId(Integer warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId()
    {
        return warehouseId;
    }
    public void setSkuId(Integer skuId)
    {
        this.skuId = skuId;
    }

    public Integer getSkuId()
    {
        return skuId;
    }
    public void setStashCount(Integer stashCount)
    {
        this.stashCount = stashCount;
    }

    public Integer getStashCount()
    {
        return stashCount;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setStashStatus(Integer stashStatus)
    {
        this.stashStatus = stashStatus;
    }

    public Integer getStashStatus()
    {
        return stashStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseSkuId", getWarehouseSkuId())
            .append("warehouseId", getWarehouseId())
            .append("skuId", getSkuId())
            .append("stashCount", getStashCount())
            .append("unit", getUnit())
            .append("stashStatus", getStashStatus())
            .append("warehouseName", getWarehouseName())
            .append("skuName", getSkuName())
            .append("skuDescription", getSkuDescription())
            .toString();
    }
}
